package com.ruoyi.system.mapper.report;

import java.util.List;
import com.ruoyi.system.domain.report.ExamSurvey;

/**
 * 随访表Mapper接口
 *
 * @author jiadun
 * @date 2022-01-03
 */
public interface ExamSurveyMapper
{
    /**
     * 查询随访表
     *
     * @param surveyid 随访表主键
     * @return 随访表
     */
    public ExamSurvey selectExamSurveyBySurveyid(Long surveyid);

    /**
     * 查询随访表列表
     *
     * @param examSurvey 随访表
     * @return 随访表集合
     */
    public List<ExamSurvey> selectExamSurveyList(ExamSurvey examSurvey);

    /**
     * 新增随访表
     *
     * @param examSurvey 随访表
     * @return 结果
     */
    public int insertExamSurvey(ExamSurvey examSurvey);

    /**
     * 修改随访表
     *
     * @param examSurvey 随访表
     * @return 结果
     */
    public int updateExamSurvey(ExamSurvey examSurvey);

    /**
     * 删除随访表
     *
     * @param surveyid 随访表主键
     * @return 结果
     */
    public int deleteExamSurveyBySurveyid(Long surveyid);

    /**
     * 批量删除随访表
     *
     * @param surveyids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamSurveyBySurveyids(Long[] surveyids);
}
